<html>
<head>
<title>ieh</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" src="../../_sharedassets/pages.js"></script>
</head>
<body>
<table class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="100%" align="left"></td><td><a href="FStEngOneFive_73.html"><img src="../../_sharedassets/previous.gif" alt="Previous"></a><img src="../../_sharedassets/shim.gif" width="10"  height="1"><a href="FStEngOneFive_75.html"><img src="../../_sharedassets/next.gif" alt="Next"></a></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="4" width="1"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/pixel.gif" height="1" width="100%"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="11" width="1"></td></tr></table>
<h1>ieh</h1>
<h4>Usage</h4>
<pre>
<i>mystateEngine.ieh(eventName, val, target)</i>
</pre>
<h4>Parameters</h4>
<p><i>eventName</i> Name (string) of event</p>
<p><i>val</i> Value associated with the event, if any</p>
<p><i>target</i> (optional) The instance generating the event</p>
<h4>Returns</h4>
<p>Nothing</p>
<h4>Description</h4>
<p>This is the default internal event handler for the stage engine.</p>
<p>In version 1 of FStEng, developers were supposed to override this method with their own event handler that found the active state(s) and executed actions, transitions, and activities. In version 1.5, however, the event handling was modified to alleviate this meticulous burden from the developer, at the expense of some small time expense.</p> <p>In version 1.5, the default <code>ieh()</code> method sends the event to the active state(s)' <code>onEvent</code> method. The state, by default, runs through its transition and internal action triggers. If any are true, then it fires those actions. See the description of <code>onEvent</code> in the <code>state</code> documentation. The developer does not override the <code>ieh()</code> method, unless the developer needs to optimize the event handling at a global level.</p></p>
<table class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="6" width="1"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/pixel.gif" height="1" width="100%"></td></tr><tr><td colspan="2"><img src="../../_sharedassets/shim.gif" height="4" width="1"></td></tr><tr><td width="100%" align="left"></td><td><a href="FStEngOneFive_73.html"><img src="../../_sharedassets/previous.gif" alt="Previous"></a><img src="../../_sharedassets/shim.gif" width="10" height="1"><a href="FStEngOneFive_75.html"><img src="../../_sharedassets/next.gif" alt="Next"></a></td></tr></table>
</body>
</html>